<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item">
        <label class="layui-form-label">
            发布人ID
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="user_id" type="text" value="{$data['user_id']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            视频
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="video" type="text" value="{$data['video']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            图片集合
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" name="image" type="text" value="{$data['image']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            文字描述
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="title" type="text" value="{$data['title']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            收藏量
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="collect_num" type="text" value="{$data['collect_num']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            点赞量
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="zan_num" type="text" value="{$data['zan_num']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            状态 1：正常 0：删除
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="status" type="text" value="{$data['status']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            发布时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="add_time" type="text" value="{$data['add_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
